<?php


namespace App\Services;

/**
 * 业务异常code表
 * Class ResponseCode
 * @package App\Services
 */
class ResponseCode
{
    const SUCCESS = 0;

    /**
     * 表单验证
     */
    const FORM_VALIDATE_FAIL = 10422;

    /**
     * 用户
     */
    const USER_NOT_FOUND = 10100;
    const INCORRECT_PASSWORD = 10101;
    const UNAUTHORIZED = 10102;

    /**
     * 加密请求
     */
    const ILLEGAL_REQUEST_CONTENT = 10200;
    const ILLEGAL_ENCRYPT_STRING = 10201;

    /**
     * 文件上传
     */
    const INVALID_FILE_MIME_TYPE = 10300;
    const UPLOAD_FILE_NOT_EXISTS = 10301;
}
